package com.moli.iov.admin.model.vo.req;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 *
 * Mail notice value object.
 *
 * @author OAK
 * @version 3.0
 * @since 2019/10/15 20:00 PM.
 *
 */
@Data
public class NoticeMailVo extends BaseVo {

  /**
   *  Company id.
   */
  @NotNull(message = "企业ID不能为空")
  private Long companyId;

  /**
   * Email.
   */
  private String mail;

  /**
   * Mail notice type.
   */
  @NotNull(message = "通知类型不能为空")
  private Integer mailType;

  /**
   * Mail notice reference id.
   */
  @NotNull(message = "电子邮件关联ID不能为空")
  private Integer mailCode;

  public interface Save{}

  public interface Update{}

}
